angular.module("lamallApp")
.service("homeService",function($http){
    this.getItems=function(callback){
        $http.get("data/home0.json").success(callback)
    }
    this.getpage=function(callback1,callback2){
        $http.get("data/home1.json").success(callback1);
        $http.get("data/home2.json").success(callback2);
    }
});



